<!-- 区域创新指数新增 -->

<template>
    <div>
      <div class="dialog-content">
        <el-form
          ref="dealMajorForm"
          :model="dealMajorForm"
          :inline="true"
          label-width="180px"
          :rules="rules"
        >
          <el-form-item label="评估年份" prop="tradeStatus">
            <el-select
              v-model="dealMajorForm.tradeStatus"
              placeholder="请选择"
              size="mini"
              clearable
            >
              <el-option
                v-for="(item, index) in dealStatus"
                :key="index"
                :label="item.label"
                :value="item.value"
              ></el-option>
            </el-select>
          </el-form-item>
          <el-form-item label="城市码" prop="dataBatchDate">
            <el-select
              v-model="dealMajorForm.tradeStatus"
              placeholder="请选择"
              size="mini"
              clearable
            >
              <el-option
                v-for="(item, index) in dealStatus"
                :key="index"
                :label="item.label"
                :value="item.value"
              ></el-option>
            </el-select>
          </el-form-item>
          <el-form-item label="城市" prop="srcSystemCode">
            <el-input v-model="dealMajorForm.srcSystemCode" placeholder="请输入">
            </el-input>
          </el-form-item>
          <el-form-item label="总量指数得分" prop="srcBizCode">
            <el-select
              v-model="dealMajorForm.tradeStatus"
              placeholder="请选择"
              size="mini"
              clearable
            >
              <el-option
                v-for="(item, index) in dealStatus"
                :key="index"
                :label="item.label"
                :value="item.value"
              ></el-option>
            </el-select>
          </el-form-item>
          <el-form-item label="人均得分" prop="srcBizCode">
            <el-select
              v-model="dealMajorForm.tradeStatus"
              placeholder="请选择"
              size="mini"
              clearable
            >
              <el-option
                v-for="(item, index) in dealStatus"
                :key="index"
                :label="item.label"
                :value="item.value"
              ></el-option>
            </el-select>
          </el-form-item>
          <el-form-item label="外来投资得分" prop="srcBizCode">
            <el-select
              v-model="dealMajorForm.tradeStatus"
              placeholder="请选择"
              size="mini"
              clearable
            >
              <el-option
                v-for="(item, index) in dealStatus"
                :key="index"
                :label="item.label"
                :value="item.value"
              ></el-option>
            </el-select>
          </el-form-item>
          <el-form-item label="VCPE得分" prop="srcBizCode">
            <el-select
              v-model="dealMajorForm.tradeStatus"
              placeholder="请选择"
              size="mini"
              clearable
            >
              <el-option
                v-for="(item, index) in dealStatus"
                :key="index"
                :label="item.label"
                :value="item.value"
              ></el-option>
            </el-select>
          </el-form-item>
          <el-form-item label="发明专利" prop="tradePurpose">
            <el-input
              v-model="dealMajorForm.tradePurpose"
              placeholder="请输入"
              clearable
            >
            </el-input>
          </el-form-item>
          <el-form-item label="实用新型专利" prop="srcSystemCode">
            <el-input v-model="dealMajorForm.srcSystemCode" placeholder="请输入">
            </el-input>
          </el-form-item>
          <el-form-item label="外观专利" prop="srcBizCode">
            <el-select
              v-model="dealMajorForm.tradeStatus"
              placeholder="请选择"
              size="mini"
              clearable
            >
              <el-option
                v-for="(item, index) in dealStatus"
                :key="index"
                :label="item.label"
                :value="item.value"
              ></el-option>
            </el-select>
          </el-form-item>
          <el-form-item label="商标授权" prop="srcBizCode">
            <el-select
              v-model="dealMajorForm.tradeStatus"
              placeholder="请选择"
              size="mini"
              clearable
            >
              <el-option
                v-for="(item, index) in dealStatus"
                :key="index"
                :label="item.label"
                :value="item.value"
              ></el-option>
            </el-select>
          </el-form-item>
          <el-form-item label="新企业" prop="srcBizCode">
            <el-select
              v-model="dealMajorForm.tradeStatus"
              placeholder="请选择"
              size="mini"
              clearable
            >
              <el-option
                v-for="(item, index) in dealStatus"
                :key="index"
                :label="item.label"
                :value="item.value"
              ></el-option>
            </el-select>
          </el-form-item>
         
         
          
          <!-- <el-form-item label="机构经营地址" prop="srcSystemCode">
            <el-input v-model="dealMajorForm.srcSystemCode" placeholder="请输入">
            </el-input>
          </el-form-item>
          <el-form-item label="机构经营范围" prop="srcSystemCode">
            <el-input v-model="dealMajorForm.srcSystemCode" placeholder="请输入">
            </el-input>
          </el-form-item>
          <el-form-item label="法人代表客户号" prop="srcSystemCode">
            <el-input v-model="dealMajorForm.srcSystemCode" placeholder="请输入">
            </el-input>
          </el-form-item>
          <el-form-item label="法人代表名称" prop="srcSystemCode">
            <el-input v-model="dealMajorForm.srcSystemCode" placeholder="请输入">
            </el-input>
          </el-form-item>
          <el-form-item label="法人证件类型" prop="traderId">
            <el-select
              v-model="dealMajorForm.traderId"
              placeholder="请选择"
              size="mini"
              clearable
            >
              <el-option
                v-for="(item, index) in importToFromTypeOptions"
                :key="index"
                :label="item.label"
                :value="item.value"
              ></el-option>
            </el-select>
          </el-form-item>
          <el-form-item label="法人证件号码" prop="srcSystemCode">
            <el-input v-model="dealMajorForm.srcSystemCode" placeholder="请输入">
            </el-input>
          </el-form-item>
          <el-form-item label="实际控制人客户号" prop="srcSystemCode">
            <el-input v-model="dealMajorForm.srcSystemCode" placeholder="请输入">
            </el-input>
          </el-form-item>
          <el-form-item label="实际控制人名称" prop="tradeAmount">
            <el-input v-model="dealMajorForm.tradeAmount" placeholder="请输入">
            </el-input>
          </el-form-item>
          <el-form-item label="实际控制人证件类型" prop="traderId">
            <el-select
              v-model="dealMajorForm.traderId"
              placeholder="请选择"
              size="mini"
              clearable
            >
              <el-option
                v-for="(item, index) in importToFromTypeOptions"
                :key="index"
                :label="item.label"
                :value="item.value"
              ></el-option>
            </el-select>
          </el-form-item>
          <el-form-item label="实际控制人证件号码" prop="tradeAmount">
            <el-input v-model="dealMajorForm.tradeAmount" placeholder="请输入">
            </el-input>
          </el-form-item>
          <el-form-item label="上级主管单位客户号" prop="tradeAmount">
            <el-input v-model="dealMajorForm.tradeAmount" placeholder="请输入">
            </el-input>
          </el-form-item>
          <el-form-item label="上级主管单位名称" prop="tradeAmount">
            <el-input v-model="dealMajorForm.tradeAmount" placeholder="请输入">
            </el-input>
          </el-form-item>
          <el-form-item label="上级主管单位主证件" prop="tradeAmount">
            <el-select
              v-model="dealMajorForm.isClienttradeFlag"
              placeholder="请选择"
              size="mini"
              clearable
            >
              <el-option
                v-for="(item, index) in importToFromTypeOptions"
                :key="index"
                :label="item.label"
                :value="item.value"
              ></el-option>
            </el-select>
          </el-form-item>
          <el-form-item label="上级主管单位主证件号" prop="tradeAmount">
            <el-input v-model="dealMajorForm.tradeAmount" placeholder="请输入">
            </el-input>
          </el-form-item> -->
        </el-form>
      </div>
    </div>
  </template>
  
  <script>
  export default {
    props: {
      title: {
        type: String,
        default: '新增',
      },
    },
    data() {
      return {
        dealMajorForm: {
          tradeId: '', //交易ID
          tradeVersion: '', // 交易版本号
          tradeStatus: '', //交易状态
          dataBatchDate: '', //数据批次日期
          srcSystemCode: '', //源系统名称
          srcBizCode: '', // 源系统编号
          // TRADETYPE: '', //summit55交易类型
          // TRADEID: '', //summit55交易ID
          productName: '', //产品代码
          tradeType: '', //交易类型
          subTradeType: '', //子交易类型
          bookName: '', //投资组合
          cptFullCnnm: '', //交易对手
          tradePurpose: '', //交易目的说明
          tradeDate: '', //交易日期
          tradeTime: '', //交易时间
          inputDate: '', //录入日期
          traderId: '', //交易员
          dealDir: '', //交易方向
          notional: '', //名义本金
          tradeAmount: '', //交易金额(买入)
          tradeAmount2: '', //交易金额卖出
          valueDate: '', //起息日期
          maturityDate: '', //到期日期
          settleDate: '', //结算日期
          settleDate2: '', //到期结算日期
          isMirrorFlag: '', //是否内部交易
          isClienttradeFlag: '', //是否客户交易
          netcreditFlag: '', //信用额度是否轧差:
          dataQualityType: '', //数据质量
          tradeFlag1: '', //交易标签1
          tradeFlag2: '', //交易标签2
          comment1: '', //交易备注1
          comment2: '', //交易备注2
          tradeDesc: '', //交易描述
          settleStatus: '', //结算状态
        },
        importToFromTypeOptions: [],
        importDireOptions: [],
        importGroupOptions: [],
        dealStatus: [
          {
            label: '新增',
            value: 'I',
          },
          {
            label: '修改',
            value: 'U',
          },
          {
            label: '删除',
            value: 'D',
          },
        ],
        rules: {
          tradeStatus: [{ required: true, message: '必填项', trigger: 'blur' }],
          dataBatchDate: [{ required: true, message: '必填项', trigger: 'blur' }],
          productName: [{ required: true, message: '必填项', trigger: 'blur' }],
          tradeType: [{ required: true, message: '必填项', trigger: 'blur' }],
          bookName: [{ required: true, message: '必填项', trigger: 'blur' }],
          cptFullCnnm: [{ required: true, message: '必填项', trigger: 'blur' }],
          tradeDate: [{ required: true, message: '必填项', trigger: 'blur' }],
        },
        TradeDataCenterCptFullCnnmDialogVisible: false,
      }
    },
  }
  </script>
  
  <style lang="scss" scoped>
  .dialog-content {
    margin-bottom: 15px;
    .content-title {
      background-color: #354060;
      line-height: 36px;
      text-align: center;
    }
    .form-content {
      padding: 16px 0;
    }
  }
  .search-icon {
    position: absolute;
    top: 0;
    right: -36px;
    color: #fff;
    z-index: 999;
    background-color: #1f9bfd;
    line-height: 32px;
    width: 32px;
    text-align: center;
    border-radius: 2px;
    cursor: pointer;
  }
  
  </style>
  